<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.1 //EN" "http://ww.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pt" lang="pt">
<head>
	<title>Majoritário</title>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" href="<?=base_url()?>public/css/estilo.css" type="text/css" />
    <link rel="shortcut icon" href="<?=base_url()?>public/img/favicon.ico" type="image/ico">
    <script type="text/javascript" src="<?=site_url()?>public/js/jquery-1.7.2.min.js"> </script>
    <script type="text/javascript" src="<?=site_url()?>public/js/jquery.validate.min.js"> </script>
    <script type="text/javascript" src="<?=site_url()?>public/js/jquery-ui-1.8.20.custom.min.js"> </script>
    <script type="text/javascript">
    <script type="text/javascript">
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-33815326-1']);
      _gaq.push(['_trackPageview']);

      (function() {
            var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
      })();

    </script>
</head>

<body>
    <div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=326969000727717";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
 		<div id="cabecalho">
		
			<div id="header">	
				<div class="wrapper">
					<div id="logo">
						<a href="<?=site_url()?>"><img src='<?=base_url()?>public/img/logo.png'></a>
					</div>
                                        <div id="perfil">
                                            <p>Olá, <?=$this->session->userdata('nome')?> <br />
                                                <?=anchor('usuario/alteraPerfil', 'Alterar dados');?> <?php if($this->session->userdata('facebook')){?><a href="<?=$this->session->userdata('deslogar')?>">Sair</a><?}else{?><?=anchor('usuario/deslogar', 'Sair');?> <?php } ?></p>
                                                
                                                
                                            
                                        </div>
					
					<div id="menu_search">
						<?php /*<div id="menu">
							<ul>
								<li>Início</li>
							</ul>
						</div>
						<div id="search">
							<form action="" method="post">
  								Busca: <input type="text" name="busca" /><br />
  							</form> 
						</div>*/ ?>
						
					</div>
				</div>
			</div>
		
			<div class="wrapper">
				<div class="border_minimum"></div>
				<div class="border_full border_logo"></div>
			</div>
			
		</div>
		<div id="content">
			<div class="wrapper">
                            <?php if ($this->session->flashdata('mensagem') || $this->session->flashdata('erro') ) : ?>
                                <div id="mensagens">
                                    <?php if ($this->session->flashdata('mensagem')) : ?>
                                        <p style="background-color: green"><?=$this->session->flashdata('mensagem'); ?></p>
                                    <?php endif; ?>
                                    <?php if ($this->session->flashdata('erro')) : ?>
                                        <p style="background-color: red"><?=$this->session->flashdata('erro'); ?></p>
                                    <?php endif; ?>
                                </div>
                            <?php endif; ?>
    